Point structure. More...
Public Member Functions | |
CPoint (CCoord h=0, CCoord v=0) | |
CPoint & | operator() (CCoord h, CCoord v) |
bool | isInside (const CRect &r) const |
bool | operator!= (const CPoint &other) const |
bool | operator== (const CPoint &other) const |
CPoint & | operator+= (const CPoint &other) |
CPoint & | operator-= (const CPoint &other) |
CPoint | operator+ (const CPoint &other) const |
CPoint | operator- (const CPoint &other) const |
CPoint & | offset (const CCoord h, const CCoord v) |
void | makeIntegral () |
Public Attributes | |
union { | |
CCoord h | |
CCoord x | |
}; | |
union { | |
CCoord v | |
CCoord y | |
}; |
Point structure.
bool isInside | ( | const CRect & | r | ) | const [inline] |
void makeIntegral | ( | ) |
bool operator!= | ( | const CPoint & | other | ) | const [inline] |
bool operator== | ( | const CPoint & | other | ) | const [inline] |
union { ... } |
union { ... } |